package com.ujoin.bean;

/**
 * UserSetting entity. @author MyEclipse Persistence Tools
 */

public class UserSetting implements java.io.Serializable {

	// Fields

	private Integer userId;
	private Boolean newFollowerAlert;
	private Boolean newPrivateInvitationAlert;
	private Boolean newActivityInfoAlert;
	private Boolean newSystemInfoAlert;
	private Boolean isInfoPublic;

	// Constructors

	/** default constructor */
	public UserSetting() {
	}

	/** full constructor */
	public UserSetting(Boolean newFollowerAlert,
			Boolean newPrivateInvitationAlert, Boolean newActivityInfoAlert,
			Boolean newSystemInfoAlert, Boolean isInfoPublic) {
		this.newFollowerAlert = newFollowerAlert;
		this.newPrivateInvitationAlert = newPrivateInvitationAlert;
		this.newActivityInfoAlert = newActivityInfoAlert;
		this.newSystemInfoAlert = newSystemInfoAlert;
		this.isInfoPublic = isInfoPublic;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Boolean getNewFollowerAlert() {
		return this.newFollowerAlert;
	}

	public void setNewFollowerAlert(Boolean newFollowerAlert) {
		this.newFollowerAlert = newFollowerAlert;
	}

	public Boolean getNewPrivateInvitationAlert() {
		return this.newPrivateInvitationAlert;
	}

	public void setNewPrivateInvitationAlert(Boolean newPrivateInvitationAlert) {
		this.newPrivateInvitationAlert = newPrivateInvitationAlert;
	}

	public Boolean getNewActivityInfoAlert() {
		return this.newActivityInfoAlert;
	}

	public void setNewActivityInfoAlert(Boolean newActivityInfoAlert) {
		this.newActivityInfoAlert = newActivityInfoAlert;
	}

	public Boolean getNewSystemInfoAlert() {
		return this.newSystemInfoAlert;
	}

	public void setNewSystemInfoAlert(Boolean newSystemInfoAlert) {
		this.newSystemInfoAlert = newSystemInfoAlert;
	}

	public Boolean getIsInfoPublic() {
		return this.isInfoPublic;
	}

	public void setIsInfoPublic(Boolean isInfoPublic) {
		this.isInfoPublic = isInfoPublic;
	}

}